<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<% String path = request.getContextPath();%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/ui.tld" prefix="ui" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>返利账号详情</title>
    <jsp:include page="../import.jsp" flush="true"/>
</head>
<script type="text/javascript">
var id = '${id}'
$(function(){
	initData();
	
});
function initData(){
	var _url = '<%=path%>/rebacc/salerebaccinfo/getById.do';
	$.ajax({
		type: 'get',
		dataType:'json',
		data:{id:id},
		url: _url,
		success:function(msg){
			 if(msg.success == 1){
				 setData(msg.data);//设置数据
			 }else{
				 $.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
			 }
		}
	});
};
function setData(data){
	$("#rcptUnt").html(data.rcptUnt);
	$("#accNo").html(data.accNo);
	$("#bkNm").html(data.bkNm);
	$("#bkNo").html(data.bkNo);
	$("#bkRem").html(data.bkRem);
	$("#rgnNms").html(data.rgnNms);
	$("#contTel").html(data.contTel);
	$("#bizTypCdNm").html(data.bizTypCdNm);
	$("#purpCdNm").html(data.purpCdNm);
    $("#certNo").html(data.certNo);
    $("#bkResTel").html(data.bkResTel);
}
</script>
<body class="iframeBody">
<div class="Wrapper">
<div id="pageInTab" class="pageInTab">
	<div tabid="tabA" title="基本信息" lselected="true">
             <form id="formSet1">
              <div class="fieldset1 tabel_col clearFix">
              
              	<div class="caption">
                         <span class="title">基本信息</span>
                     </div>
                  <div class="fieldBox col_50">
                      <div class="label">账号类型</div>
                      <div class="field">
                          <span name="bizTypCdNm" id="bizTypCdNm">&nbsp;</span>
                      </div>
                  </div>
                     <div class="fieldBox col_50">
                         <div class="label">收款方</div>
                         <div class="field">
                             <span id="rcptUnt" name="rcptUnt" >&nbsp;</span>
                         </div>
                   </div>
                     <div class="fieldBox col_50">
                         <div class="label">收款账号</div>
                         <div class="field">
                             <span name="accNo" id="accNo" >&nbsp;</span>
                         </div>
                   </div>
                     <div class="fieldBox col_50">
                         <div class="label">开户行</div>
                         <div class="field">
                             <span name="bkNm" id="bkNm" >&nbsp;</span>
                         </div>
                   </div>
                     <div class="fieldBox col_50">
                         <div class="label">开户行行号</div>
                         <div class="field">
                             <span name="bkNo" id="bkNo" >&nbsp;</span>
                         </div>
                   </div>
                  <c:if test="${bizTypCd != 0}">
                      <div class="fieldBox col_50">
                          <div class="label">银行预留手机号</div>
                          <div class="field">
                              <span id="bkResTel" name="bkResTel"></span>
                          </div>
                      </div>
                      <div class="fieldBox col_50">
                          <div class="label">收款方身份证号</div>
                          <div class="field">
                              <span id="certNo" name="certNo"></span>
                          </div>
                      </div>
                  </c:if>
                  <div class="fieldBox col_50">
                      <div class="label">联系方式</div>
                      <div class="field">
                          <span id="contTel" name="contTel"></span>
                      </div>
                  </div>
                   <div class="fieldBox col_66_auto">
						<div class="label">区域</div>
						<div class="field">
                             <span name="rgnNms" id="rgnNms" >&nbsp;</span>
                         </div>
				</div>
				<div class="fieldBox col_50">
	                <div class="label">账号用途</div>
	                <div class="field">
	                    <span name="purpCdNm" id="purpCdNm" >&nbsp;</span>
	                </div>
            	</div>
                   <div class="fieldBox col_100">
					<div class="label">备注</div>
					<div class="field">
						<span id="bkRem" name="bkRem"></span>
					</div>
					</div>
					<div id="fileDIV" class="fieldBox col_100" id="fileModify">
					<div class="label">资料</div>
					<div class="field">
	                	<jsp:include page="../system/sysUlFilesRec/sysUlFileRecList.jsp" flush="true" >
	                   		<jsp:param name="pkId" value="${id }"/>
	                   		<jsp:param name="tabNm" value="SALE_REB_ACC_INFO"/>
	                 	</jsp:include>
	            	</div>
					</div>
					<input name="sId" id="sId" type="hidden" value="${id }">
            </div>
         </form>
     </div>
</div>
</div>
	
</body>
</html>